package TreeTest;

public class Student {
    int age;

    public Student(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Student{" +
                "age=" + age +
                '}';
    }

    public static void main(String[] args) {
        Student[] students=new Student[26];
        students[0] = new Student(2);
        students[1] = students[0];
        System.out.println(students[1].toString());
    }

}
